package gameStructure;

import java.awt.Point;



/**
 * Move.java
 * H class auti einai ipeuthini gia tin kinisi tou pioniou tipou Piece apo tin thesi pou vrisketai
 * stin teliki thesi tou, pou orizetai apo ton hristi. Periehei stigmiotipa tou Piece pou theloume 
 * na kinisoume kai tou Point pou theloume na metaferthei.Etsi kratontas ta stigmiotipa tipou Move 
 * pou apoteloun egires koiniseis ginetai kai efikti i dimiourgia tou istorikou ton kiniseon.
 * @author rafael
 */



class Move{

    public Piece pieceToMove;
    public Point toGo;
    public Point From;
    
    public Move(){}
    
    /**
     * 
     * @param pieceToMove H metavliti tipou Piece einai to epilegmeno pioni 
     * apo to hristi pou epithimei na kinisei.
     * @param toGo H metavliti tipou Point einai to seimiou pou epithimi 
     * o hristis na paei to pioni pou ehei epilexei.
     */
    public Move(Piece pieceToMove, Point toGo){}
    
    /**
     * Tha elehetai kata poso einai efikto to pioni pou ehei epilehtei, borei na metavei sto 
     * seimio pou thelei o hristis, efoson  periehetai stis epitrepomenes kai nomimes tou pioniou, kai
     * tha elehetai an me auti tin kinisei afinetai akaliptos o vasilias oste na dimiourgeitai apeili, 
     * horis auto na to prokali auto o epomenos paihtis apo auton pou kinei tora to pioni 
     * (Karfomeno pioni).
     * @return Epistrefetai boolean an h kinisi einai efikti kai egine, allios False!
     */
    
    public boolean move(){
        return true;
    }
}





